package com.joingame.libxdelta3;

import androidx.appcompat.app.AppCompatActivity;

import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.TextView;

public class MainActivity extends AppCompatActivity {
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);

        // Example of a call to a native method
        TextView tv = findViewById(R.id.sample_text);


        findViewById(R.id.btn_apply_patch).setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
            }
        });


        findViewById(R.id.btn_get_apkpath).setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                String path = ApkUtils.getSourceApkPath(MainActivity.this, "com.gszz.bc");
                Log.e("Path", path);
            }
        });
    }

}
